CDIBeanProvider{
  final WeldContainer weldContainer=new Weld().initialize();
  beanManager=weldContainer.getBeanManager();
}
getBeanByType{
  if (cls == null) {
  final Set<Bean<?>> beans=beanManager.getBeans(cls);
  if (!beans.isEmpty()) {
    final Bean<?> bean=beanManager.resolve(beans);
    return (T)beanManager.getReference(bean,cls,context);
}
